<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>弹出层</title>
</head>
<body>
    <script src="./layui-v2.6.8/layui/layui.js"></script>

    <script type="text/javascript">

    window.onload = function() {
        document.getElementById("btn").onclick = function() {
            
            window.location = "./01-栅格系统.html";
            layer.msg("1111111111");
        }
        document.getElementById("btn2").onclick = function() {
            
            layer.msg("22222222222");
        }
    }

        

    </script>



    <a href="./01-栅格系统.html">跳转</a>

    <form action="" method="GET">
        <input type="hidden" name="1" value="2">
        <button type="submit" id="btn2">跳转2</button>
    </form>

    <button id="btn">跳转</button>



</body>
</html>